package com.atguigu.gulimall.order.feign;

import com.atguigu.gulimall.order.vo.OrderItemVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

@FeignClient("gulimall-cart")
public interface CartFeign {

    /**
     * 根据用户id获取购物车列表信息
     */
    @GetMapping("cart")
    public List<OrderItemVo> getCartOrder();
}
